package com.ycw.controller.wang;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class YeMianController {
	/**
	 * 前台
	 * 
	 * @return
	 */
	// 登录
	@RequestMapping("login")
	public String loginJsp() {
		return "pages/front/login";
	}

	// 跳转到个人中心
	@RequestMapping("grzxJsp")
	public String grzxJsp() {
		return "pages/front/user/user_info";
	}

	// 注册
	@RequestMapping("register")
	public String register() {
		return "pages/front/reg";
	}

	// 跳转首页面
	@RequestMapping("index.action")
	public String firstPage() {
		return "pages/front/index";
	}

	// 众筹资讯
	@RequestMapping("ly-list")
	public String lyListJsp() {
		return "pages/front/information/ly-list";
	}

	// 公益众筹
	@RequestMapping("gyzc-list")
	public String gyzcList() {
		return "pages/front/commonweal/gyzc-list";
	}

	// 项目信息
	@RequestMapping("productDetail")
	public String productDetail() {
		return "pages/front/product-detail";
	}

	// 常见问题
	@RequestMapping("cop")
	public String cop() {
		return "pages/front/question/cop";
	}

	// 发布项目
	@RequestMapping("new_info")
	public String newInfo() {
		return "pages/front/project/new_info";
	}

	/**
	 * 后台
	 */
	// 跳转首页面
	public String afterFirstPage() {
		return "pages/";
	}
}
